﻿@Layout ~/Views/Shared/_PageListLayout.vbhtml
@Code    
    ViewData("Title") = "דפים ללא תמונה"
    Dim list As New List(Of String)
    For Each title As String In WikiModel.Instance.GetAllPageTitles()
        Dim pic = WikiModel.Instance.GetExactPage(title).Picture
        If pic Is Nothing OrElse pic = "" Then
            list.Add(title)
        End If
    Next
    ViewData("List") = List
End Code


